package com.cainaer.rider.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 骑手业绩表
 * </p>
 *
 * @author Tina
 * @since 2020-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RiderPerformance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "performance_id", type = IdType.AUTO)
    private Integer performanceId;

    /**
     * 平均评分
     */
    private Float score;

    /**
     * 最近一个月完成的订单量
     */
    private Integer monthTaskNum;

    /**
     * 总完成的订单量
     */
    private Long totalTaskNum;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;


}
